package com.eit.eitsite.common.utils;

import java.io.Serializable;

/**
 * Created by admin on 2016/12/17.
 * chenyl
 */
public class TreeNode implements Serializable {

    private static final long serialVersionUID = 1L;
    private String id;   //节点ID
    private String name; //节点名称
    private String pid;  //父节点ID
    private String status; //节点状态
    private int type;    //0 叶子节点,1 非叶子节点
    private int layer;   //节点在树形结构中的层次
    private String fill; //节点的前导填充
    private String a;    //扩展属性
    private String b;    //扩展属性
    private String addBm; //附属编码

    public TreeNode() {

    }

    public String getA() {
        return a;
    }

    public String getB() {
        return b;
    }

    public String getFill() {
        return fill;
    }

    public String getId() {
        return id;
    }

    public int getLayer() {
        return layer;
    }

    public String getName() {
        return name;
    }

    public String getPid() {
        return pid;
    }

    public String getStatus() {
        return status;
    }

    public int getType() {
        return type;
    }

    public String getAddBm() {
        return addBm;
    }

    public void setA(String a) {
        this.a = a;
    }

    public void setB(String b) {
        this.b = b;
    }

    public void setFill(String fill) {
        this.fill = fill;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setLayer(int layer) {
        this.layer = layer;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setAddBm(String addBm) {
        this.addBm = addBm;
    }

}
